#define _CRT_SECURE_NO_WARNINGS 1
bool isAnagram(char* s, char* t) {
    int arr1[26] = { 0 };
    int arr2[26] = { 0 };
    int i = 0;
    while (*s != '\0')
    {
        arr1[*s - 'a']++;
        s++;
    }
    while (*t != '\0')
    {
        arr2[*t - 'a']++;
        t++;
    }
    for (i = 0; i < 26; i++)
    {
        if (arr1[i] != arr2[i])
        {
            return false;
        }
    }
    return true;
}